<div id="p4" style="position: absolute; top: 0px; left: 0px; z-index: -1"><img src="images/map.gif"></div>
<?php
$dir = opendir('maps/');
while(false != ($file = readdir($dir))){
	if(strpos($file, '.png')){
		echo '<div style="position: absolute; top: 0px; left: 0px"><img src="maps/' . $file . '"></div>';
	}
}
?>

<!--<img src="readjson.php" style="position: aboslute, top: 0px, left: 0px">
<img src="readjson2.php" style="position: aboslute, top: 0px, left: 0px">-->